<?php
namespace app\model\admin\calendar;

use laytp\BaseModel;

class CalendarContent extends BaseModel
{
    protected $name = 'calendar_content';

    public function oneModule(){
        return $this->hasOne("CalendarModule","id","module_id");
    }

    public function oneLabel(){
        return $this->hasOne("CalendarLabel","id","label_id");
    }
}